package com.qfedu.mesadmin.md.client.service;

import com.qfedu.mes.common.PageParam;
import com.qfedu.mes.common.PageVO;
import com.qfedu.mes.entity.md.MdClient;
import com.qfedu.mesadmin.md.client.params.AddClientParam;
import com.qfedu.mesadmin.md.client.params.ClientPageParam;
import com.qfedu.mesadmin.md.client.vo.ClientTypeVO;
import com.qfedu.mesadmin.md.client.vo.MdClientVO;

import java.util.List;

public interface MdClientService {
        //分页数据
        PageVO<MdClientVO> selectInfo(PageParam param);
        //模糊查询分页数据
        PageVO<MdClientVO> searchInfo(ClientPageParam param);
        //类型列表
        List<ClientTypeVO> selectType();
        //插入数据
        void insertClient(AddClientParam param);
        //删除
        void deleteById(Long id);
        //修改时展示数据
        AddClientParam selectById(Long id);
        //更新
        void updateById(AddClientParam param);

        //总条数
        Integer selectTotal();

}
